<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
  </head>
  
  <!-- 防止表单重复提交-token -->
  <body>
  		<s:form action="tokenAction_token.action">
  			<!-- 生成token信息，放入到session中 -->
  			<s:token></s:token>
  			用户名：<s:textfield name="username"/>
  			密码：<s:password name="password"/>
  			<s:submit />
  		</s:form>
  </body>
</html>
